import instance from "@/http";

// 成绩分页
export const scorePage = (searchForm)=>instance.post('/score/page',searchForm)

// 添加或编辑学生信息
export const addOrUpdateScore = (scoreForm)=>instance.post('/score/addOrUpdate',scoreForm)

// 删除
export const deleteScore = (id)=>instance.delete('/score/delete/'+id)


// 批量导入
export const importScore = (formData)=>instance.post('/score/import',formData)

// 批量导出
export const exportScore = (params)=>instance.post('/score/export',params,{responseType:'arraybuffer'})